package routers

import (
	"github.com/astaxie/beego"
	"github.com/astaxie/beego/context/param"
)

func init() {

    beego.GlobalControllerRouter["gif_project/controllers:ArticleDetailController"] = append(beego.GlobalControllerRouter["gif_project/controllers:ArticleDetailController"],
        beego.ControllerComments{
            Method: "GetArticleDetail",
            Router: `/api_getArticleDetail`,
            AllowHTTPMethods: []string{"post"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["gif_project/controllers:ArticleListController"] = append(beego.GlobalControllerRouter["gif_project/controllers:ArticleListController"],
        beego.ControllerComments{
            Method: "GetArticleList",
            Router: `/api_getArticleList`,
            AllowHTTPMethods: []string{"post"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["gif_project/controllers:ArticleListController"] = append(beego.GlobalControllerRouter["gif_project/controllers:ArticleListController"],
        beego.ControllerComments{
            Method: "GetArticleType",
            Router: `/api_getArticleType`,
            AllowHTTPMethods: []string{"post"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["gif_project/controllers:ArticleListController"] = append(beego.GlobalControllerRouter["gif_project/controllers:ArticleListController"],
        beego.ControllerComments{
            Method: "GetArticleTypePage",
            Router: `/api_getArticleTypePage`,
            AllowHTTPMethods: []string{"post"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

}
